@charset "utf-8";

$color:#f5f5f5;
$size:12px;

.web{
    
    width: 100%;
    height: 100%;
    .main1{
        margin: 0 auto;
        width: 1200px;
    }
    //定位元素
    .lenovo_icon{
        position: fixed;
        left: 0;
        top: 0;
        z-index: 999;
        .lenovo_long{
            
        }
        .lenovo{
            display: none;
        }
    }
    header{
        //头部img
        .top_img{         
            height: 100px; 
            width: 100%;
            position: relative;
            img{
                width: 100%;
                height: 100%;
            }
            .close_top_img{
                width: 16px;
                height: 16px;
                text-align: center;
                line-height: 12px;
                border: 1px solid #fff;
                position: absolute;
                right: 0;
                top:5px;
                cursor: pointer;
                .icon-chahao{
                    color: #fff;
                    font-size: 12px;
                }
            }
        }        
        //黑色nav
        .top_nav{
            background: #000;
            height: 24px !important;  
            width: 100%;         
            .top_box{                
                width: 1200px;
                height: 24px;
                line-height: 24px;
                margin: 0 auto; 
                font-size: $size;
                ul{
                    margin-left: 15px;
                    li{
                        padding: 0 10px;
                        float: left;
                        position: relative;
                        a{
                            color: #9e9e9e;
                            &:hover{
                                color:#fff;
                            }
                        }
                        em{ 
                            display:block;
                            position: absolute;
                            right: 0;
                            top: 5px;
                            height: 14px;
                            width: 1px;
                            background: #9e9e9e !important;
                        }
                        .xiala{
                            font-size: 16px;
                            vertical-align: middle;
                            padding-left: 3px;
                            display: inline-block;
                        }
                    }
                    .hover_change:hover .xiala{
                        margin-top: -5px;
                        transform: rotateX(180deg);
                    }
                    .hover_change:hover .social_hover{
                        display: block;                                           
                    }
                }
                .top_region{
                    margin-left: 58px;
                    float: left;
                    height: 24px;
                    .icon-yinliang{
                        color: #9e9e9e;
                        float: left;
                    }
                    a{
                        font-size: $size;
                        color: #9e9e9e;
                        display: inline-block;
                    }
                }
                .social_hover{
                    position: absolute;
                    left: 0px;
                    top: 24px;
                    background: #fff;
                    width: 156px;
                    display: none;
                    z-index: 999;
                    border: 1px solid #CCCCCC;
                    ul{
                        padding: 5px 0;
                        li{
                            .social_hover_img{
                                position: absolute; 
                                left: 0;
                                top: 5px;
                                vertical-align: middle;
                                
                            }
                            a{
                              color: #000; 
                              font-size: 14px;
                              padding: 5px 5px; 
                              display: inline-block;
                              &:hover{
                                  color: #F10000;
                              }
                            }
                        }
                    }
                    
                }
                .phone_wei{
                    position: absolute;
                    left: 0px;
                    top: 24px;
                    background: #fff;
                    width: 250px;
                    display: none;
                    z-index: 999;
                    height: 120px;
                    line-height: 120px;
                    border: 1px solid #CCCCCC;
                    padding-top: 20px;
                    padding-left: 30px;
                    span{
                        display: block;
                        line-height: 0;
                        padding-top: 10px;
                        font-size: 14px;  
                        color: #9E9E9E;              
                    }
                    .erweima{
                        padding-right: 6px;
                        width: 80px;
                        height: 80px;
                        float: left;
                    }
                }
            }
        }
        //主部nav
        .header{
            z-index: 995;
            height: 74px;
            background: #eee;
            line-height: 74px;
            width: 100%;
            .header_main{
                width: 1200px;
                margin: 0 auto;
                .nav_header{
                    margin-left: 10px;
                    width: 670px;
                    height: 73px;
                    line-height: 73px;
                    float: left;
                    h3{
                        display: inline;
                        float: left;
                        cursor: pointer;
                        padding-right:10px;
                        padding-bottom: 3px;
                        height: 74px;
                        width: 90px;
                    }
                    ul{ 
                        li{
                            padding: 0 12px;
                            float: left;
                            position: relative;
                            height: 74px;
                            box-sizing:border-box ;
                            a{
                                color: #000;
                                &:hover{
                                    color:#f10000;
                                }
                            }                                                
                            .nav_icon{
                                font-size: 25px;
                                color: #F10000;
                                position: absolute;
                                right:-5px;
                                top: -15px;
                            }
                        }
                        .serve_hover{
                            &:hover>.serve{
                                display: block;
                                top: 74px;
                            }
                            .serve{
                                width: 172px;
                                background: #fff;
                                font-size: 14px;
                                border: 1px solid #ccc;
                                border-top: none;
                                position: absolute;
                                left: -62px;
                                z-index:999;
                                top: 0;
                                padding: 10px 0;
                                display: none;
                                ul{
                                    li{
                                        text-align: center;
                                        float: inherit;
                                        height: 35px;
                                        line-height: 35px;
                                        line-height: 28px;
                                    }
                                }
                            }
                        }
                    }
                }
                //search框
                .search{
                    position: relative;
                    margin-top: 25px;
                    border: 1px solid #ccc;
                    height: 26px;
                    line-height: 26px;
                    width: 220px;
                    float: left;
                    background: #f5f5f5;
                    input{
                        float: left;
                        height: 24px;
                        width: 180px;
                        border: none;
                        padding: 0 10px;
                        background: $color;
                    }
                    a{
                        position: absolute;
                        font-size: 12px;
                        line-height:0;
                        padding: 8px 8px;
                        color: #ccc;
                        left: 112px;
                        top: 4px;
                        display: block;
                        &:hover{
                            background: #f10000;
                            color: #fff;
                        }
                    }
                    .search_sousuo{                   
                        float: right;
                        background: #ccc;
                        padding: 0px 5px;
                        vertical-align:middle;
                        display: block;
                        cursor: pointer;
                        line-height:24px;
                        margin-top: -1px;
                        margin-right: -1px; 
                        
                        &:hover{
                            background:#f10000;
                        } 
                        .iconfont{
                            color: #fff;
                            vertical-align: middle;
                        }
                    }
                }
                //登录，注册，购物
                .nav_right{
                    float: right;
                    padding-right: 10px;
                    height: 73px;
                    line-height: 73px;
                    ul{
                        li{
                            float: left;
                            padding:0 10px;
                            position: relative;
                            a{
                                color: #000;
                                font-size: 14px;
                                .icon-you{
                                    font-size: 11px;
                                    padding-left: 5px;
                                    display: inline-block;
                                    transform: rotate(90deg);
                                    vertical-align: top;
                                }
                                &:hover>.icon-you{
                                     transform: rotate(270deg);
                                }                   
                            }
                            &:hover>.my_login{
                                top: 50px;
                                display: block;
                                
                            }
                            em{
                                width: 1px;
                                background: #000;
                                height: 16px;
                                display: inline-block;
                                position: absolute;
                                top: 30px;
                                right: 0;
                            }
                            .gouwucar{
                                font-size: 22px;
                                margin-top: -2px;
                            }
                            .kinds_number{
                                height: 20px;
                                width: 20px;
                                border-radius: 50%;
                                color: #fff;
                                background: #f10000;
                                position: absolute;
                                right: -6px;
                                top: 15px;
                                line-height: 20px;
                                text-align: center;
                            }
                            .my_login{
                                width: 140px;
                                border: 1px solid #d3d3d3;
                                position: absolute;
                                background: #fff;
                                text-align: center; 
                                padding: 15px 0;  
                                top:0px; 
                                left: -70px; 
                                overflow: hidden;
                                display: none;
                                transition: all 1s ease-in-out;              
                                p{
                                    line-height: 1.8em;
                                    a{
                                        font-size: 12px;
                                        &:hover{
                                            color: #E2231A;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    //尾部
    footer{
        .footer_img{
            height: 83px;
            background: $color;
        }
        .footer{
            dl{
                float: left;
                padding: 10px 0;
                dt{
                    font-size: 14px;
                    padding-bottom: 5px;
                }
                dd{
                    line-height: 20px;
                    font-size: 12px;
                    a{
                        color: #555;
                        &:hover{
                            color: #000;
                        }
                    }
                }
                &:not(first-child){
                    padding-right: 148px;
                }
                &:last-child{
                    padding-right:0px;
                }
            }
        }
        .f_comment{
            background: $color;
            text-align: center;
            padding-top: 25px;
            padding-bottom: 20px;
            .fo_row{
                font-size: 12px;
                color: #6f7170;
                padding: 4px 0;
                a{
                    font-size: 12px;
                    color: #6f7170;
                    &:hover{
                        color: #555555;
                    }
                }
                span{
                    display: inline-block;
                    width: 1px;
                    height: 12px;
                    background: #6f7170;
                    vertical-align: middle;
                    margin: 0 8px;
                }
                .iconfont{
                    font-size: 12px;
                    vertical-align: middle;
                }               
            }
            .select_img{
                display: inline-block;
                position: relative;
                height: 19px;
                background:url(../img/icons_sprit.png) left -72px top -320px;
                width: 124px;  
                margin-left: 6px;
                vertical-align: middle;
                &:hover>.select_hover{
                    display: block;
                }  
                .select_hover{
                    position: absolute;
                    left: -27px;
                    top: -350px;
                    height: 350px;
                    width: 150px;
                    overflow-y: auto;
                    border: 1px solid #A9A9A9;
                    text-align: left;
                    padding-left: 5px;
                    background: #fff;
                    display: none;
                }
            }
        }
    }
    //登录框
    .logn_in{ 
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.6);
        top: 0;
        display: none;
        z-index: 999;
        position: fixed;
        .general,.faster{
            width: 430px;
            position: fixed;
            top: 88px;
            left: 50%;
            background: #fff;
            transform: translateX(-50%);                     
        }
        .general{
        }
        .faster{
            display: none;
        }
        .log_top{
            position: relative;
            background: #000;
            width: 100%;
            height: 37px;
            span{
                display: inline-block;
                cursor: pointer;
                font-size: 14px;
                color: rgb(204, 204, 204);
                font-weight: bold;
                width: 212px;
                height: 37px;
                text-align: center;
                line-height: 37px;
                }
            .on{
                color:#f10000;
                border-bottom: 3px solid #f10000;;
            }
            .close_log{
                color: #ccc;
                display: inline-block;
                position: absolute;
                top: 5px;
                right: 10px;
                font-size: 19px;
                cursor: pointer;
                
            }
        }
        .log_text{
            width: 330px;
            margin: auto;
            .input_top{
                margin-top: 35px;
                margin-bottom: 5px;
            }
            .input_f{
                height: 36px;
                width: 100%;
                border: 1px solid #A9A9A9;
                background: #fff;                
                .input_left{                   
                    width: 34px;
                    height: 34px;
                    line-height: 34px;
                    text-align: center;
                    border-right: 1px solid #A9A9A9;
                    float: left;
                    background: #fff;
                    .iconfont{
                        color: #A9A9A9;
                        font-size: 20px;
                    }                                    
                }
                input{
                    height: 34px;
                    width: 270px;
                    border: none;
                    padding-left: 15px;
                }
                .yan_input{
                    width: 190px;
                }
                .fr{
                    font-size: 12px;
                    height: 34px;
                    line-height: 34px;
                    background: #bbb;
                    padding: 0 12px;
                    cursor: pointer;
                }
            }
            .input_middle{
                width: 160px;
                margin-bottom: 4px;
                height: 36px;
                border: 1px solid #A9A9A9;
                background: #fff;
                .input_left{                   
                    width: 34px;
                    height: 34px;
                    line-height: 34px;
                    text-align: center;
                    border-right: 1px solid #A9A9A9;
                    float: left;
                    background: #fff;
                    .iconfont{
                        color: #A9A9A9;
                        font-size: 20px;
                    }                                    
                }
                
                input{
                    height: 34px;
                    width: 110px;
                    border: none;
                    padding-left: 15px;
                    float: left;
                }
            }
            .yan_img{
               height: 36px;
               box-sizing: border-box;
               a{
                   padding-left:5px;
                   color: #000;
                   font-size: 12px;
                   img{
                       vertical-align: middle;
                   }
               }
            }
            p{
                line-height: 30px;
                color: #ef1c22;
                font-size: 12px;
            } 
            .auto_log{
                line-height: 30px;
                input{
                    vertical-align: middle;
                }
                label{
                    font-size: 12px;
                    
                }
            }
            .log_btn{
                width: 330px;
                height: 26px;
                line-height: 26px;
                background-color: #ef1c22;
                border-radius: 5px;
                text-align: center;
                margin-bottom: 10px;
                a{
                    color: #fff;
                    display: block;
                }
            }
            .password_log{   
                padding-bottom: 15px;            
                a{
                    color: #005ce6;
                    font-size: 12px;
                }
            }
            .let_log{
                padding-bottom: 25px;
                span{
                    font-size: 12px;
                }
                .let_log_i{
                    padding-top: 3px;
                    a{
                       padding-right: 12px;
                       color: royalblue; 
                       .iconfont{
                           font-size: 20px;
                       }
                    }
                }
            }
        }           
    }
    //固定栏滚动框
    .fix_right{
        display: none;
        width: 36px;
        position: fixed;
        z-index: 999;
        top: 33%;
        right: 5%;
        ul{
            li{
                position: relative;
                background: #fff;
                height:35px ;
                line-height: 35px;
                text-align: center;
                border: 1px solid #999;
                border-bottom: none;
                font-size: 12px;
                &:nth-last-child(2){
                    border-bottom: 1px solid #999;
                }
                &:last-child{
                    border: none;
                }
                &:hover>a{
                    display: block;
                }
                &:hover>.fix_fixtext{
                    display: block;
                }
                a{
                    background: #7ecef4;
                    display: inline-block;
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    color: #fff;
                    display: none;
                    
                }
                .iconfont{
                    font-size: 20px;
                }
                .fix_fixtext:after{
                    content: "";
                    border-left: 5px solid transparent;
                    border-bottom: 5px solid transparent;
                    border-right: 5px solid #fff;
                    border-top: 5px solid #fff;
                    position: absolute;
                    right: -4px;
                    top: 15px;
                    transform: rotate(45deg);
                    
                } 
                .fix_fixtext{
                    display: none;
                    width: 200px;
                    position: absolute;
                    right:35px;
                    top: -1px;
                    background: #fff;
                    border: 1px solid #e6e6e6;
                    .fix_row{
                        width: 200px;
                        height: 46px;
                        border-bottom: 1px solid #e6e6e6;
                       .fl_img{
                        height: 45px;
                        width: 65px;
                                               
                        }
                        .text_a{
                            width: 130px;
                            height: 15px;
                            text-align:left;
                            float: left;
                            a{
                                line-height: 15px;
                                white-space: nowrap;
                                padding-top: 10px;
                                display:inline-block;
                                position: relative;
                                color:#6f7170;
                                background: none;
                            }
                        } 
                    }
                    
                    
                }               
            }
            
            .go_top{
                transform: rotate(180deg);
                color: #fff;
                background: #000;
                height: 22px;
                line-height: 22px;
                margin-top: 5px;
                cursor: pointer;
                .icon-xia{
                    font-size: 15px;
                    color: #E6E6E6;
                }
            }
        }
    }
    .fix_left{
        position:fixed;
        display: none;
        left: 5%;
        top: 30%;
        ul{
            li{
                font-size: 12px;
                color: #6F7170;
                height: 36px;
                width: 30px;
                margin: auto;
                text-align: center;
                line-height: 36px;
                position: relative;
                font{
                    display: none;
                    font-size: 11px;
                    line-height: 12px;
                    top: 6px;
                    left: 0;
                    color: #000;
                    position: absolute;
                    text-align: center;
                    cursor: pointer;
                }
                &:hover>font{
                    display: block;
                }
                &:hover>span{
                    display: none;
                }
            }
            em{
                height: 1px;
                width: 10px;
                display: block;
                background: #CCC;
                margin: auto;
            }
        }
    }
    
    #close_logn_in:checked~.logn_in{
        display: block;
    }

    #close_logn_in{
        display: none;
    }   
    #kuai_log:checked~.general{
        display: block;
    } 
     #kuai_log:checked~.faster{
        display: none;
    }
    #commond_log:checked~.faster{
        display: block;
    }
    #commond_log:checked~.general{
        display: none;
    }
    #kuai_log,#commond_log,#open_logn_in{
        display: none;
    }
}
